package com.zhz.project.main.socolar.issue;

import java.util.ArrayList;
import java.util.List;

public class SocolarYearRecord {

	private String year;

	private List<SocolarIssueRecord> socolarIssueRecordList = new ArrayList<SocolarIssueRecord>();

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	public List<SocolarIssueRecord> getSocolarIssueRecordList() {
		return socolarIssueRecordList;
	}

	public void setSocolarIssueRecordList(
			List<SocolarIssueRecord> socolarIssueRecordList) {
		this.socolarIssueRecordList = socolarIssueRecordList;
	}

	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("----------NEWYEAR----------").append("\r\n");
		sb.append(year).append("\r\n");
		for (SocolarIssueRecord socolarIssueRecord : socolarIssueRecordList) {
			sb.append(socolarIssueRecord);
		}
		return sb.toString();
	}

}
